﻿Imports System.Xml.Serialization
Namespace Pop.Api.Response
    <Serializable()>
    Public Class GetItemResponse
        Inherits PopResponse

        ''' <summary>
        ''' 商品编码，商品在拍拍上标识的唯一编码
        ''' </summary>
        <XmlElement("itemCode")>
        Property ItemCode As String

        ''' <summary>
        ''' 商家对商品的编码
        ''' </summary>
        <XmlElement("itemLocalCode")>
        Property ItemLocalCode As String

        ''' <summary>
        ''' 商品名称
        ''' </summary>
        <XmlElement("itemName")>
        Property ItemName As String

        ''' <summary>
        ''' 商品状态
        ''' </summary>
        <XmlElement("itemState")>
        Property ItemState As String

        ''' <summary>
        ''' 商品状态的说明
        ''' </summary>
        <XmlElement("stateDesc")>
        Property StateDesc As String

        ''' <summary>
        ''' 推荐搭配商品编码，多个以‘|’号隔开
        ''' </summary>
        <XmlElement("relatedItems")>
        Property RelatedItems As String

        ''' <summary>
        ''' 商品属性
        ''' </summary>
        <XmlElement("itemProperty")>
        Property ItemProperty As String

        ''' <summary>
        ''' 商品的属性组合串
        ''' </summary>
        <XmlElement("properties")>
        Property Properties As String

        ''' <summary>
        ''' 商品库存总数量
        ''' </summary>
        <XmlElement("stockCount")>
        Property StockCount As Long

        ''' <summary>
        ''' 商品销售单价
        ''' </summary>
        <XmlElement("itemPrice")>
        Property ItemPrice As Long

        ''' <summary>
        ''' 商品的市场价格
        ''' </summary>
        <XmlElement("marketPrice")>
        Property MarketPrice As Long

        ''' <summary>
        ''' 商品的快递费用
        ''' </summary>
        <XmlElement("expressPrice")>
        Property ExpressPrice As Long

        ''' <summary>
        ''' 商品的EMS费用
        ''' </summary>
        <XmlElement("emsPrice")>
        Property EmsPrice As Long

        ''' <summary>
        ''' 商品的邮寄费用
        ''' </summary>
        <XmlElement("mailPrice")>
        Property MailPrice As Long

        ''' <summary>
        ''' 商品的种类id（店铺自定义分类）
        ''' </summary>
        <XmlElement("categoryId")>
        Property CategoryId As String

        ''' <summary>
        ''' 商品的类目id
        ''' </summary>
        <XmlElement("classId")>
        Property ClassId As Long

        ''' <summary>
        ''' 城市id
        ''' </summary>
        <XmlElement("cityId")>
        Property CityId As Long

        ''' <summary>
        ''' 省份id
        ''' </summary>
        <XmlElement("provinceId")>
        Property ProvinceId As Long

        ''' <summary>
        ''' 国家id
        ''' </summary>
        <XmlElement("countryId")>
        Property CountryId As Long

        ''' <summary>
        ''' 商品的属性串编码
        ''' </summary>
        <XmlElement("attr")>
        Property Attr As String

        ''' <summary>
        ''' 商品的商家自定义属性
        ''' </summary>
        <XmlElement("customAttr")>
        Property CustomAttr As String

        ''' <summary>
        ''' 商品的商家自定义属性说明列表
        ''' </summary>
        <XmlArray("parsedAttrList")>
        <XmlArrayItem("parsedAttr")>
        Property ParsedAttrList As List(Of Domain.ParsedAttr)

        '' <summary>
        '' 商品扩展属性列表
        '' </summary>
        '<XmlElement("extendList")>
        'Property ExtendList As List(Of Extend)

        ''' <summary>
        ''' 购买时的数量限制
        ''' </summary>
        <XmlElement("buyLimit")>
        Property BuyLimit As Long

        ''' <summary>
        ''' 商品的详情内容
        ''' </summary>
        <XmlElement("detailInfo")>
        Property DetailInfo As String

        ''' <summary>
        ''' 商品的运费模板id
        ''' </summary>
        <XmlElement("freightId")>
        Property FreightId As Long

        ''' <summary>
        ''' 是否14天包换  1是 0否
        ''' </summary>
        <XmlElement("guarantee14Days")>
        Property Guarantee14Days As Integer

        ''' <summary>
        ''' 是否7天包退   1是 0否
        ''' </summary>
        <XmlElement("guarantee7Days")>
        Property Guarantee7Days As Integer

        ''' <summary>
        ''' 是否假一赔三    1是 0否
        ''' </summary>
        <XmlElement("guaranteeCompensation")>
        Property GuaranteeCompensation As Integer

        ''' <summary>
        ''' 是否提供保修服务 1是 0否
        ''' </summary>
        <XmlElement("guaranteeRepair")>
        Property GuaranteeRepair As Integer

        ''' <summary>
        ''' 是否提供发票 1是 0否
        ''' </summary>
        <XmlElement("invoiceItem")>
        Property InvoiceItem As Integer

        ''' <summary>
        ''' 发布时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("createTime")>
        Property CreateTime As String

        ''' <summary>
        ''' 最后修改时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("lastModifyTime")>
        Property LastModifyTime As String

        ''' <summary>
        ''' 上次上架时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("lastToSaleTime")>
        Property LastToSaleTime As String

        ''' <summary>
        ''' 上次下架时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("lastToStoreTime")>
        Property LastToStoreTime As String

        ''' <summary>
        ''' 支持的付款方式 (发货方式)，以“,”隔开
        ''' PT_MONEY=款到发货
        ''' PT_COD_OLD=货到付款
        ''' PT_BAOBEI=见宝贝描述
        ''' PT_TENPAY=支持财付通方式(暂时不用)
        ''' PT_COD=货到付款
        ''' </summary>
        <XmlElement("payType")>
        Property PayType As String

        ''' <summary>
        ''' 商品图片连接
        ''' </summary>
        <XmlElement("picLink")>
        Property PicLink As String

        ''' <summary>
        ''' QQ会员折扣 万分之几
        ''' </summary>
        <XmlElement("qqvipDiscount")>
        Property QqvipDiscount As Long

        ''' <summary>
        ''' 是否QQ会员店商品
        ''' </summary>
        <XmlElement("qqvipItem")>
        Property QqvipItem As Long

        ''' <summary>
        ''' 是否推荐商品 1是 0否
        ''' </summary>
        <XmlElement("recommendItem")>
        Property RecommendItem As Integer

        ''' <summary>
        ''' 地区信息
        ''' </summary>
        <XmlElement("regionInfo")>
        Property RegionInfo As String

        ''' <summary>
        ''' 重上架次数
        ''' </summary>
        <XmlElement("reloadCount")>
        Property ReloadCount As Long

        ''' <summary>
        ''' 是否为二手商品  1是 0否
        ''' </summary>
        <XmlElement("secondHandItem")>
        Property SecondHandItem As Integer

        ''' <summary>
        ''' 卖家或者买家承担运费的情况
        ''' 1 卖家承担运费
        ''' 2 买家承担运费
        ''' 3 同城交易，无需运费
        ''' 大于或等于10 买家承担运费，表示支持运费模板，该值即为运费模板ID
        ''' </summary>
        <XmlElement("sellerPayFreight")>
        Property SellerPayFreight As Integer

        ''' <summary>
        ''' 店铺名称
        ''' </summary>
        <XmlElement("sellerName")>
        Property SellerName As String

        ''' <summary>
        ''' 卖家QQ号
        ''' </summary>
        <XmlElement("sellerUin")>
        Property SellerUin As Long

        ''' <summary>
        ''' 商品详情页面主题
        ''' </summary>
        <XmlElement("theme")>
        Property Theme As String

        ''' <summary>
        ''' 商品上架后卖N天后下架（单位以秒计，目前系统N只支持7天和14天两个值）
        ''' </summary>
        <XmlElement("validDuration")>
        Property ValidDuration As Long

        ''' <summary>
        ''' 访问的次数
        ''' </summary>
        <XmlElement("visitCount")>
        Property VisitCount As Long

        ''' <summary>
        ''' 近期销售的商品数量
        ''' </summary>
        <XmlElement("soldCount")>
        Property SoldCount As Long

        ''' <summary>
        ''' 销售的商品数量
        ''' </summary>
        <XmlElement("soldTotalCount")>
        Property SoldTotalCount As Long

        ''' <summary>
        ''' 近期销售的订单次数
        ''' </summary>
        <XmlElement("soldTimes")>
        Property SoldTimes As Long

        ''' <summary>
        ''' 销售订单的总次数
        ''' </summary>
        <XmlElement("soldTotalTimes")>
        Property SoldTotalTimes As Long

        ''' <summary>
        ''' 近期购买商品数量
        ''' </summary>
        <XmlElement("buyNum")>
        Property BuyNum As Long

        ''' <summary>
        ''' 购买商品的总数量
        ''' </summary>
        <XmlElement("totalBuyNum")>
        Property TotalBuyNum As Long

        ''' <summary>
        ''' 近期下单的订单次数
        ''' </summary>
        <XmlElement("buyCount")>
        Property BuyCount As Long

        ''' <summary>
        ''' 下单的订单总次数
        ''' </summary>
        <XmlElement("totalBuyCount")>
        Property TotalBuyCount As Long

        ''' <summary>
        ''' 商品的重量
        ''' </summary>
        <XmlElement("weight")>
        Property Weight As Long

        ''' <summary>
        ''' 是否为橱窗商品 1是 0否
        ''' </summary>
        <XmlElement("windowItem")>
        Property WindowItem As Long

        ''' <summary>
        ''' 商品的尺码表Id
        ''' </summary>
        <XmlElement("sizeTableId")>
        Property SizeTableId As Long

        ''' <summary>
        ''' 商品的库存列表
        ''' </summary>
        <XmlArray("stockList")>
        <XmlArrayItem("stock")>
        Property StockList As List(Of Domain.Stock)

    End Class
End Namespace